package com.topisv.tms.rest.entity.md.request;

import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.topisv.tms.tools.typeadapter.JaxbDateAdapter;

/**
 * 美的订单确认接口报文
 *  Date          Author       Version       Description
 * ----------------------------------------------------------
 *  2015-1-7      CC            1.0           Create
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderConfirmRequestBody implements TransferBodyContent {
	@XmlElement(name = "order_type")
	private String orderType;
	@XmlElement(name = "wh_code")
	private String whCode;
	@XmlElement(name = "wh_name")
	private String whName;
	@XmlElement(name = "order_no")
	private String custOrdNo;
	@XmlElement(name = "carrier_code")
	private String carrierCode;
	@XmlElement(name = "express_no")
	private String expressNo;
	@XmlElement(name = "cust_customer_code")
	private String custCustomerCode;
	@XmlElement(name = "weight")
	private Double weight;
	@XmlElement(name = "process_time")
	@XmlJavaTypeAdapter(JaxbDateAdapter.class)
	private Date processTime;
	@XmlElement(name = "invoice_flag")
	private String invoiceFlag;
	@XmlElement(name = "expand1")
	private String expand1;
	@XmlElement(name = "expand2")
	private String expand2;
	@XmlElement(name = "expand3")
	private String expand3;
	@XmlElement(name = "expand4")
	private String expand4;
	@XmlElementWrapper(name = "order_details")
	@XmlElement(name = "det")
	private List<OrderConfirmDetail> configDetails;

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public String getWhCode() {
		return whCode;
	}

	public void setWhCode(String whCode) {
		this.whCode = whCode;
	}

	public String getWhName() {
		return whName;
	}

	public void setWhName(String whName) {
		this.whName = whName;
	}

	public String getCustOrdNo() {
		return custOrdNo;
	}

	public void setCustOrdNo(String custOrdNo) {
		this.custOrdNo = custOrdNo;
	}

	public String getCarrierCode() {
		return carrierCode;
	}

	public void setCarrierCode(String carrierCode) {
		this.carrierCode = carrierCode;
	}

	public String getExpressNo() {
		return expressNo;
	}

	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}

	public String getCustCustomerCode() {
		return custCustomerCode;
	}

	public void setCustCustomerCode(String custCustomerCode) {
		this.custCustomerCode = custCustomerCode;
	}

	public Double getWeight() {
		return weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	public Date getProcessTime() {
		return processTime;
	}

	public void setProcessTime(Date processTime) {
		this.processTime = processTime;
	}

	public String getInvoiceFlag() {
		return invoiceFlag;
	}

	public void setInvoiceFlag(String invoiceFlag) {
		this.invoiceFlag = invoiceFlag;
	}

	public String getExpand1() {
		return expand1;
	}

	public void setExpand1(String expand1) {
		this.expand1 = expand1;
	}

	public String getExpand2() {
		return expand2;
	}

	public void setExpand2(String expand2) {
		this.expand2 = expand2;
	}

	public String getExpand3() {
		return expand3;
	}

	public void setExpand3(String expand3) {
		this.expand3 = expand3;
	}

	public String getExpand4() {
		return expand4;
	}

	public void setExpand4(String expand4) {
		this.expand4 = expand4;
	}

	public List<OrderConfirmDetail> getConfigDetails() {
		return configDetails;
	}

	public void setConfigDetails(List<OrderConfirmDetail> configDetails) {
		this.configDetails = configDetails;
	}
}
